package com.testapp.bluetoothtest08.common;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CustomException extends RuntimeException {

    int code;
    String msg;
    Object data;

    public CustomException(int code, String msg)
    {
        this.msg = msg;
        this.code = code;
    }

}
